home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 2
/
Nebula Two.iso
/
Apps
/
ScreenSavers
/
Sentinel
/
Source
/
ScreenLock.h
< prev
next >
Wrap
Text File
|
1995-06-12
|
1KB
|
38 lines
/* Generated by Interface Builder */
#import <appkit/graphics.h>
#import <appkit/Responder.h>
#import <dpsclient/dpsclient.h>
@interface ScreenLock:Responder
{
id lockMgr ; /* Lock manager */
id quitOption ; /* Quit menu option */
id lockOption ; /* Lock menu option */
id hideOption ; /* Hide menu option */
id waitWindow ; /* Lock window used to accept keypresses */
char password [ 128 ] ; /* Password entry buffer */
int passwordChars ; /* Number of characters in password buffer */
double origLevel ; /* Brightness of screen before dimming */
double lastLevel ; /* Current brightness of screen */
double dimDelta ; /* Controls fading in and out */
DPSTimedEntry timedEntry ; /* Moving message timed entry */
BOOL isLocked ; /* Current lock status */
NXRect screenRect ; /* Total screen space */
}
- init ;
- lock: sender ;
- unlock: sender ;
- (BOOL) isLocked ;
- keyDown: (NXEvent *) theEvent ;
- (BOOL) acceptsFirstResponder ;
- timer ;
- interrupt ;
@end